<!doctype html>
<html><head>
	<meta charset="utf-8">
	<title>HW采购发货管理</title>
	<meta name="renderer" content="webkit">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
	<meta name="apple-mobile-web-app-status-bar-style" content="black">
	<meta name="apple-mobile-web-app-capable" content="yes">
	<meta name="format-detection" content="telephone=no">
	
	<th:block th:include="include/src :: grid_base_js_and_css"/>
</head>
<body>
	<div class="layui-tab layui-tab-brief" style="background-color: #fff; height:877px;" >
		<ul class="layui-tab-title">
			<li class="layui-this" data-loaded="1">HW采购计划</li>
			<li data-loaded="0" onclick="doReload(this, 'id_iframe_2')">HW采购结算</li>
			<li data-loaded="0" onclick="doReload(this, 'id_iframe_3')">HW采购发货</li>
		</ul>
		<div class="layui-tab-content">
			<div class="layui-tab-item layui-show">
				<iframe id="id_iframe_1" frameborder="0" scrolling="yes" style="width:99%; height:100%;" src="/indexCommonOfMenu?menuId=10448"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_2" frameborder="0" scrolling="yes" style="width:99%; height:100%;" src="/indexCommonOfMenu?menuId=10449"></iframe>
			</div>
			<div class="layui-tab-item">
				<iframe id="id_iframe_3" frameborder="0" scrolling="yes" style="width:99%; height:100%;" src="/indexCommonOfMenu?menuId=10450"></iframe>
			</div>
		</div>
	</div>
	
	<script type="text/javascript">
	$(function() {
		var height = window.innerHeight - 41;
		$('#id_iframe_1').css('height', height + 'px');
		$('#id_iframe_2').css('height', height + 'px');
		$('#id_iframe_3').css('height', height + 'px');
		$('#id_iframe_4').css('height', height + 'px');
	});
	function doReload(dom, id_iframe) {
		var loaded = $(dom).attr('data-loaded');
		if(loaded == 0) {
			$(dom).attr('data-loaded', 1);
			//document.getElementById(id_iframe).contentWindow.location.reload(true);
		}
	}
	
	</script>
</body>
		
</html>